import * as ApiUtil from '@/api/index';

const api = {
  login: ApiUtil.getI5xforyouUrl('/i5xforyou/backend/login'),
};

export interface LoginForm {
  username: string;
  password: string;
}

//登录
export function login(data: LoginForm) {
  return ApiUtil.postI5xforyou(api.login, data);
}
